package com.xuecheng.feign.Client;

import com.xuecheng.feign.pojo.TeachplanMedia;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient("content-service")
public interface ContentFeignClient {
        @GetMapping("/content/teachplanMedia/{mediaId}")
        TeachplanMedia queryTeachplanMediaById(@PathVariable Long mediaId);
    }

